package com.jumi.microservice.constant;

import com.jumi.microservice.common.exception.BusinessExceptionAssert;

/**
 * @author Administrator
 */

public enum FavoritesEnum implements BusinessExceptionAssert {

    FAVORITES_GOODS_NOT_EXISTED(500,"不能收藏未存在的商品")
    ;

    private Integer code;

    private String message;

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    FavoritesEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
